package paidaxing.blog.post.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * 文章标签关联实体类
 */
public class PostTags implements Serializable {
    private static final long serialVersionUID = -68795856659239466L;
    
    /**
     * 关联ID
     */
    private Long id;
    
    /**
     * 文章ID
     */
    private Long postId;
    
    /**
     * 标签ID
     */
    private Long tagId;
    
    /**
     * 创建时间
     */
    private Date createdAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getPostId() {
        return postId;
    }

    public void setPostId(Long postId) {
        this.postId = postId;
    }

    public Long getTagId() {
        return tagId;
    }

    public void setTagId(Long tagId) {
        this.tagId = tagId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }
}